﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using PMS.BLL;
using PMS.Entity;
using PMS.Resources;
using PMS.Win;
using PMS.Utils;
using CrystalDecisions.CrystalReports.Engine;
using PMS.Report;


namespace PMS.ReportViewer
{
    public partial class NhaCungCapViewer : Form
    {
        public NhaCungCapViewer()
        {
            InitializeComponent();
            ReportBO rp = new ReportBO();
            ReportClass r = new PMS.Report.NhaCungCap();
            DataSet ds = rp.NhaCCListReport();
            r.SetDataSource(ds);
            crystalReportViewer1.ReportSource = r; 
        }
    }
}
